package com.example.socialapp.ui.auth.register

import com.example.socialapp.ui.base.mvi.MviState

/**
 * State for the registration screen
 */
data class RegisterState(
    val email: String = "",
    val password: String = "",
    val confirmPassword: String = "",
    val displayName: String = "",
    val phoneNumber: String = "",
    val isLoading: Boolean = false,
    val isEmailError: Boolean = false,
    val isPasswordError: Boolean = false,
    val isConfirmPasswordError: Boolean = false,
    val isDisplayNameError: Boolean = false,
    val isPhoneNumberError: Boolean = false,
    val emailErrorMessage: String = "",
    val passwordErrorMessage: String = "",
    val confirmPasswordErrorMessage: String = "",
    val displayNameErrorMessage: String = "",
    val phoneNumberErrorMessage: String = "",
    val acceptedTerms: Boolean = false,
    val isTermsError: Boolean = false,
    val termsErrorMessage: String = ""
) : MviState 